package org.red_cross_service.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import jakarta.persistence.Id;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName rc_protocol
 */
@TableName(value ="rc_protocol")
@Data
@Accessors(chain = true)
public class Protocol implements Serializable {

    @TableId(value = "protocol_id", type = IdType.AUTO)
    private Integer protocolId;
    /**z
     * 用户协议内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}